@media screen and (max-width: 1250px) and (min-width: 1050px) {
  main {
    .user_info {

      .right {
        width: 65%;
      }

      .theme {
        width: 15%;
      }
    }
  }
}

@media screen and (max-width: 1050px) and (min-width: 850px) {
  main {
    .user_info {
      flex-direction: column;
      position: relative;

      .left {
        width: 100%;
        margin-top: 10px;
      }

      .right {
        width: 100%;
        padding: 10px 80px;

      }

      .theme {
        width: 15%;
        position: absolute;
        top: 43px;
        left: 205px;
      }
    }
  }
  .collection_table {
    th {
      white-space: nowrap;
      padding: 0 10px;
    }

    tbody {
      tr {
        height: 60px;
        font-size: 12px;

        .tags {
          i {
            margin-bottom: 5px;
          }
        }
      }
    }
  }
}

@media screen and (max-width: 850px) {
  aside {
    transition: all 0.3s;
    position: absolute;
    transform: translateX(-200px);
    z-index: 100;
    visibility: hidden;
    margin-right: -200px;
  }
  aside.show {
    z-index: 100;
    transform: translateX(0px);
    visibility: visible;


  }
  .aside_bg {
    transition: all 0.3s;
  }
  aside.show ~ .aside_bg {
    left: 0;
    top: 0;
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 50;
    background-color: rgba(0, 0, 0, 0.3);
  }
  main {
    transition: all 0.3s;
    width: 100%;

    .user_info {
      flex-direction: column;

      .left {
        width: 100%;
        margin-top: 10px;

        .avatar {
          i.show_reset_avatar {
            display: none;
          }
        }
      }

      .right {
        width: 100%;
        padding: 10px 80px;

        .item {
          width: 100%;
          height: 30px;
          justify-content: center;
        }
      }

      .theme {
        display: none;
      }
    }
  }

  main.show {
    width: 100%;

  }

  .collection_table {
    th {
      white-space: nowrap;
      padding: 0 10px;
    }

    tbody {
      tr {
        height: 60px;
        font-size: 12px;

        .tags {
          i {
            margin-bottom: 5px;
          }
        }
      }
    }
  }
}

@media screen and (max-width: 550px) {
  .el-button {
    padding: 12px 5px;
  }
}

@media screen and (max-width: 450px) {
  main {

    .user_info {


      .right {
        padding: 10px 20px;
      }

      .theme {
        display: none;
      }
    }
  }

  .collection_table {
    th {
      padding: 0;
      font-size: 14px;
    }
  }
  .el-button {
    font-size: 12px;
    padding: 12px 5px;
  }
  .avatar_list > li {
    margin-right: 10px;
    margin-bottom: 10px;

    img {
      width: 40px;
      height: 40px;
    }
  }
}